import {firstName, lastName, year} from './es6export.js';
// main.js
import { counter, incCounter } from './es6export';
var config = require('./test.json');

console.log(counter); // 3
incCounter();
console.log(counter); // 4

console.log(firstName,year);


import * as example from "./es6export.js";
console.log(example.sum(1,
        example.magicNumber));          // 8
console.log(example.multiply(1, 2));    // 2

import { name, setName } from "./es6export.js";

console.log(name,"--------------------");       // "Nicholas"
setName("Greg.....");
console.log(name);       // "Greg"


import sum from "./es6export.js";

console.log(sum(1, 2));     // 3


console.log(config.greetText);

